package xc.src.线程同步;

public class SellTicketDemo {
    public static void main(String[] args) {
        SellTicket st=new SellTicket();
        Thread td1=new Thread(st,"窗口1");
        Thread td2=new Thread(st,"窗口2");
        Thread td3=new Thread(st,"窗口3");

        td1.start();
        td2.start();
        td3.start();
    }
}
